
package br.com.cast.EstudoCasoDropDown;

import org.apache.wicket.feedback.ExactLevelFeedbackMessageFilter;
import org.apache.wicket.feedback.FeedbackMessage;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.FeedbackPanel;

public class Principal extends WebPage {
	

	public static final String ID_CONTEUDO = "conteudo";
 
    public Principal(){

    	add(new FeedbackPanel("mensagemErro",new ExactLevelFeedbackMessageFilter(FeedbackMessage.ERROR)));
    	add(new FeedbackPanel("mensagemSucesso",new ExactLevelFeedbackMessageFilter(FeedbackMessage.SUCCESS)));
    	
		add(new HeaderPanel("headerPanel"));
		add(new MenuPanel("menuPanel"));
		add(new FooterPanel("footerPanel"));
		add(new Label(ID_CONTEUDO, "Put your content here"));
	}
}
